﻿define(['element-util', 'layui-pagination', 'text',
    'text!/public/LogHome/index.html'], function (elementUtil, layuiPagination, text, template) {
        var APP = Vue.extend({
            template: template,
            data: function () {
                return {}
            },
            methods: {

            },
            mounted: function () {
                this.datas = elementUtil.getJson('data');
                new layuiPagination(this.datas, this.query);
            }
        });

        var d = new APP();
        d.$mount('#vue')
        //Vue.component('my-app', d);
    });